<template>
  <div>
    <ul>
      <li v-for="item in myArr" :key="item">
        {{ item }}
      </li>
    </ul>
    <button @click="btn">走-走</button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      myArr: ["赵今麦", "鞠婧祎", " 张婧怡"],
    };
  },

  methods: {
    btn() {
      this.myArr.splice(3, 0, this.myArr[0]);
      this.myArr.shift()
    },
  },
};
</script>

<style>
</style>